package com.zhiqin.generateCode.mapper;

import com.zhiqin.generateCode.dto.ColumnDto;
import com.zhiqin.generateCode.dto.TablesDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author zhiqin
 * @version V1.0
 * @Title: generate-code
 * @Package com.zhiqin.generateCode.mapper
 * @Description:
 * @date 2021/10/15 17:15
 */
@Mapper
public interface GenrateMapper {

    List<TablesDto> getAllTables(String database);

    List<ColumnDto> getTable(String tableName);


}
